package cn.itsource.pethome.order.mapper;

import cn.itsource.pethome.Basic.mapper.BaseMapper;
import cn.itsource.pethome.order.domain.ProductOrder;

public interface ProductOrderMapper extends BaseMapper<ProductOrder> {
    /**
     * 通过id查询服务订单
     * @param id
     * @return
     */
    ProductOrder loadById(Long id);

    /**
     * 通过订单编号查询服务订单
     * @param oderSn
     * @return
     */
    ProductOrder loadByOderSn(String oderSn);
}
